package com.finger.hospservice.controller.api;

import com.finger.hospservice.service.HospSetService;
import com.finger.modelservice.vo.order.SignInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 内部接口,供其他模块使用
 */
@RestController
@RequestMapping("site/hospitalset/api")
public class HospitalSetApiController {

    @Autowired
    private HospSetService hospSetService;

    @GetMapping("inner/findSignInfoVO/{hoscode}")
    public SignInfoVo findSignInfoVO(@PathVariable String hoscode){
        return hospSetService.findSignInfoVO(hoscode);
    }
}
